package com.ruoyi.assets.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.assets.enums.VisitTypeEnum;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 访问记录对象 state_visit
 * 
 * @author ruoyi
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("state_visit")
public class StateVisit extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 访问量 */
    @Excel(name = "访问量")
    private Integer visitNum;

    /** 资产ID */
    @Excel(name = "资产ID")
    private Long assetId;

    /**
     *
     */
    private VisitTypeEnum type;
} 